package com.xueyi.system.BaseComprehensive.service.impl;

import com.xueyi.system.BaseComprehensive.domain.query.BaseComprehensiveQuery;
import com.xueyi.system.BaseComprehensive.domain.dto.BaseComprehensiveDto;
import com.xueyi.system.BaseComprehensive.service.IBaseComprehensiveService;
import com.xueyi.system.BaseComprehensive.manager.IBaseComprehensiveManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 病虫草害综合防控管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseComprehensiveServiceImpl extends BaseServiceImpl<BaseComprehensiveQuery, BaseComprehensiveDto, IBaseComprehensiveManager> implements IBaseComprehensiveService {

    /**
     * 查询病虫草害综合防控对象列表 | 数据权限 | 附加数据
     *
     * @param baseComprehensive 病虫草害综合防控对象
     * @return 病虫草害综合防控对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseComprehensiveMapper"})
    public List<BaseComprehensiveDto> selectListScope(BaseComprehensiveQuery baseComprehensive) {
        return baseManager.selectListExtra(baseComprehensive);
    }

}